package com.example.service;

import com.csq.User;
import com.example.dao.UserDao;
import com.netflix.discovery.converters.Auto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {
    @Resource
    private UserDao userDao;

    public User get(String username){

        return userDao.get(username);
    }
}
